package cn.zymall.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "del_order")
public class DelOrder extends BaseEntity implements Serializable {
    /**
     * 删除订单编号
     */
    @TableId(value = "DEL_ORDER_ID", type = IdType.AUTO)
    private Integer delOrderId;

    /**
     * 删除类型
     */
    @TableField(value = "DEL_ORDER_TYPE")
    private Byte delOrderType;

    /**
     * 删除人类型
     */
    @TableField(value = "DEL_USER_TYPE")
    private Byte delUserType;

    /**
     * 删除人编号
     */
    @TableField(value = "DEL_USER_ID")
    private Integer delUserId;

    /**
     * 创建人
     */
    @TableField(value = "CREATE_BY")
    private Integer createBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATE_BY")
    private Integer updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public static final String COL_DEL_ORDER_ID = "DEL_ORDER_ID";

    public static final String COL_DEL_ORDER_TYPE = "DEL_ORDER_TYPE";

    public static final String COL_DEL_USER_TYPE = "DEL_USER_TYPE";

    public static final String COL_DEL_USER_ID = "DEL_USER_ID";

    public static final String COL_CREATE_BY = "CREATE_BY";

    public static final String COL_CREATE_TIME = "CREATE_TIME";

    public static final String COL_UPDATE_BY = "UPDATE_BY";

    public static final String COL_UPDATE_TIME = "UPDATE_TIME";
}